<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Class ManaPHP\Http\Request</title>

	<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
				<li class="active">
					<a href="namespace-ManaPHP.html">
						ManaPHP<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Alias.html">
						Alias					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Authentication.html">
						Authentication<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Authentication.Token.html">
						Token<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Authentication.Token.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Authentication.Token.Adapter.Mwt.html">
						Mwt					</a>

						</li>
							</ul></li></ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Authorization.html">
						Authorization<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Authorization.Rbac.html">
						Rbac<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Authorization.Rbac.Models.html">
						Models					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Authorization.Rbac.PermissionBuilder.html">
						PermissionBuilder					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Cache.html">
						Cache<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Cache.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Cache.Adapter.Apc.html">
						Apc					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Cache.Adapter.Db.html">
						Db					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Cache.Adapter.File.html">
						File					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Cli.html">
						Cli<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Cli.Application.html">
						Application					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Cli.Arguments.html">
						Arguments					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Cli.Controllers.html">
						Controllers					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-ManaPHP.Component.html">
						Component					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Configure.html">
						Configure<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Configure.Engine.html">
						Engine<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Configure.Engine.Ini.html">
						Ini					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Configure.Engine.Json.html">
						Json					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Counter.html">
						Counter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Counter.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Counter.Adapter.Db.html">
						Db					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Db.html">
						Db<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Db.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Db.Adapter.Sqlite.html">
						Sqlite					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Debugger.html">
						Debugger					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Di.html">
						Di					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Event.html">
						Event<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Event.Manager.html">
						Manager					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-ManaPHP.Facade.html">
						Facade					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Filesystem.html">
						Filesystem<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Filesystem.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Filesystem.Adapter.File.html">
						File					</a>

						</li>
							</ul></li></ul></li>
				<li class="active">
					<a href="namespace-ManaPHP.Http.html">
						Http<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Http.Client.html">
						Client					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Http.Cookies.html">
						Cookies					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Http.Filter.html">
						Filter					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Http.Request.html">
						Request<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Http.Request.File.html">
						File					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-ManaPHP.Http.Response.html">
						Response					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Http.Session.html">
						Session<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Http.Session.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Http.Session.Adapter.Db.html">
						Db					</a>

						</li>
							</ul></li></ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.I18n.html">
						I18n					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Image.html">
						Image<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Image.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Image.Adapter.Gd.html">
						Gd					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Image.Adapter.Imagick.html">
						Imagick					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Loader.html">
						Loader					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Logger.html">
						Logger<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Logger.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Logger.Adapter.Db.html">
						Db					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Message.html">
						Message<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Message.Queue.html">
						Queue<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Message.Queue.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Message.Queue.Adapter.Db.html">
						Db					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Message.Queue.Adapter.Redis.html">
						Redis					</a>

						</li>
							</ul></li></ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Meter.html">
						Meter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Meter.Linear.html">
						Linear					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Meter.Round.html">
						Round					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-ManaPHP.Mvc.html">
						Mvc<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Mvc.Application.html">
						Application					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Mvc.Dispatcher.html">
						Dispatcher					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Mvc.Model.html">
						Model<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Mvc.Model.Manager.html">
						Manager					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Mvc.Model.Metadata.html">
						Metadata<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Mvc.Model.Metadata.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Mvc.Model.Metadata.Adapter.Apc.html">
						Apc					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Mvc.Model.QueryBuilder.html">
						QueryBuilder					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-ManaPHP.Mvc.Router.html">
						Router<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Mvc.Router.RewriteChecker.html">
						RewriteChecker					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Mvc.Router.Route.html">
						Route					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-ManaPHP.Mvc.Url.html">
						Url					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Mvc.User.html">
						User					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Mvc.View.html">
						View<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Mvc.View.Flash.html">
						Flash<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Mvc.View.Flash.Adapter.html">
						Adapter					</a>

						</li>
							</ul></li></ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Paginator.html">
						Paginator					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Renderer.html">
						Renderer<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Renderer.Engine.html">
						Engine<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Renderer.Engine.Php.html">
						Php					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Renderer.Engine.Sword.html">
						Sword					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Security.html">
						Security<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Security.Captcha.html">
						Captcha					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Security.Crypt.html">
						Crypt					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Security.CsrfToken.html">
						CsrfToken					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Security.RateLimiter.html">
						RateLimiter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Security.RateLimiter.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Security.RateLimiter.Adapter.Db.html">
						Db					</a>

						</li>
							</ul></li></ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Serializer.html">
						Serializer<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Serializer.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Serializer.Adapter.Json.html">
						Json					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Serializer.Adapter.JsonPhp.html">
						JsonPhp					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Serializer.Adapter.Php.html">
						Php					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Serializer.Adapter.StringType.html">
						StringType					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Store.html">
						Store<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Store.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Store.Adapter.Db.html">
						Db					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Store.Adapter.File.html">
						File					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Task.html">
						Task<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Task.Metadata.html">
						Metadata<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Task.Metadata.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Task.Metadata.Adapter.Apc.html">
						Apc					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Task.Metadata.Adapter.Db.html">
						Db					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Task.Metadata.Adapter.Redis.html">
						Redis					</a>

						</li>
							</ul></li></ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Text.html">
						Text					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Utility.html">
						Utility					</a>

						</li>
							</ul></li>
			</ul>
		</div>

		<hr>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-ManaPHP.Http.Client.html">Client</a></li>
				<li><a href="class-ManaPHP.Http.Cookies.html">Cookies</a></li>
				<li><a href="class-ManaPHP.Http.Filter.html">Filter</a></li>
				<li class="active"><a href="class-ManaPHP.Http.Request.html">Request</a></li>
				<li><a href="class-ManaPHP.Http.Response.html">Response</a></li>
				<li><a href="class-ManaPHP.Http.Session.html">Session</a></li>
			</ul>

			<h3>Interfaces</h3>
			<ul>
				<li><a href="class-ManaPHP.Http.ClientInterface.html">ClientInterface</a></li>
				<li><a href="class-ManaPHP.Http.CookiesInterface.html">CookiesInterface</a></li>
				<li><a href="class-ManaPHP.Http.FilterInterface.html">FilterInterface</a></li>
				<li><a href="class-ManaPHP.Http.RequestInterface.html">RequestInterface</a></li>
				<li><a href="class-ManaPHP.Http.ResponseInterface.html">ResponseInterface</a></li>
				<li><a href="class-ManaPHP.Http.SessionInterface.html">SessionInterface</a></li>
			</ul>


			<h3>Exceptions</h3>
			<ul>
				<li><a href="class-ManaPHP.Http.Exception.html">Exception</a></li>
			</ul>


		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="">
		<input type="hidden" name="ie" value="UTF-8">
		<input type="text" name="q" class="text" placeholder="Search">
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="namespace-ManaPHP.Http.html" title="Summary of ManaPHP\Http"><span>Namespace</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class Request</h1>


	<div class="description">
	<p>Class ManaPHP\Http\Request</p>
	</div>

	<dl class="tree">
		<dd style="padding-left:0px">
			<a href="class-ManaPHP.Component.html"><span>ManaPHP\Component</span></a>
			
			 implements 
				<a href="class-ManaPHP.ComponentInterface.html"><span>ManaPHP\ComponentInterface</span></a>
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by">
<b><span>ManaPHP\Http\Request</span></b>			
			 implements 
				<a href="class-ManaPHP.Http.RequestInterface.html"><span>ManaPHP\Http\RequestInterface</span></a>
			
			
		</dd>
	</dl>








	<div class="info">
		
		
		<b>Namespace:</b> <a href="namespace-ManaPHP.html">ManaPHP</a>\<a href="namespace-ManaPHP.Http.html">Http</a><br>
		<b>Package:</b> request<br>

			<b>Located at</b> <a href="source-class-ManaPHP.Http.Request.html#10-642" title="Go to source code">Http/Request.php</a>
		<br>
	</div>



	<table class="summary methods" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="_getHelper" id="__getHelper">

		<td class="attributes"><code>
			 protected 

			string|null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__getHelper">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#34-55" title="Go to source code">_getHelper</a>( <span>array <var>$source</var></span>, <span>string <var>$name</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$rule</var> = <span class="php-keyword1">null</span></span>, <span>mixed <var>$defaultValue</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$source</var></dt>
					<dd></dd>
					<dt><var>$name</var></dt>
					<dd></dd>
					<dt><var>$rule</var></dt>
					<dd></dd>
					<dt><var>$defaultValue</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					string|null
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Http.Request.Exception.html">ManaPHP\Http\Request\Exception</a></code>
				</div>



		</div>
		</div></td>
	</tr>
	<tr data-order="get" id="_get">

		<td class="attributes"><code>
			 public 

			mixed
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_get">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#57-79" title="Go to source code">get</a>( <span>string <var>$name</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$rule</var> = <span class="php-keyword1">null</span></span>, <span>mixed <var>$defaultValue</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			<p>Gets a variable from the $_REQUEST applying filters if needed.
If no parameters are given the $_REQUEST is returned</p>
		</div>

		<div class="description detailed hidden">
			<p>Gets a variable from the $_REQUEST applying filters if needed.
If no parameters are given the $_REQUEST is returned</p>

<pre><span class="php-comment">//Returns value from $_REQUEST[&quot;user_email&quot;] without sanitizing</span>
   <span class="php-var">$userEmail</span> = <span class="php-var">$request</span>-&gt;get(<span class="php-quote">&quot;user_email&quot;</span>);

   <span class="php-comment">//Returns value from $_REQUEST[&quot;user_email&quot;] with sanitizing</span>
   <span class="php-var">$userEmail</span> = <span class="php-var">$request</span>-&gt;get(<span class="php-quote">&quot;user_email&quot;</span>, <span class="php-quote">&quot;email&quot;</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$name</var></dt>
					<dd></dd>
					<dt><var>$rule</var></dt>
					<dd></dd>
					<dt><var>$defaultValue</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					mixed
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Http.Request.Exception.html">ManaPHP\Http\Request\Exception</a></code>
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_get">ManaPHP\Http\RequestInterface::get()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getGet" id="_getGet">

		<td class="attributes"><code>
			 public 

			mixed
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getGet">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#81-106" title="Go to source code">getGet</a>( <span>string <var>$name</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$rule</var> = <span class="php-keyword1">null</span></span>, <span>mixed <var>$defaultValue</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			<p>Gets variable from $_GET applying filters if needed
If no parameters are given the $_GET is returned</p>
		</div>

		<div class="description detailed hidden">
			<p>Gets variable from $_GET applying filters if needed
If no parameters are given the $_GET is returned</p>

<pre><span class="php-comment">//Returns value from $_GET[&quot;id&quot;] without sanitizing</span>
   <span class="php-var">$id</span> = <span class="php-var">$request</span>-&gt;getGet(<span class="php-quote">&quot;id&quot;</span>);

   <span class="php-comment">//Returns value from $_GET[&quot;id&quot;] with sanitizing</span>
   <span class="php-var">$id</span> = <span class="php-var">$request</span>-&gt;getGet(<span class="php-quote">&quot;id&quot;</span>, <span class="php-quote">&quot;int&quot;</span>);

   <span class="php-comment">//Returns value from $_GET[&quot;id&quot;] with a default value</span>
   <span class="php-var">$id</span> = <span class="php-var">$request</span>-&gt;getGet(<span class="php-quote">&quot;id&quot;</span>, <span class="php-keyword1">null</span>, <span class="php-num">150</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$name</var></dt>
					<dd></dd>
					<dt><var>$rule</var></dt>
					<dd></dd>
					<dt><var>$defaultValue</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					mixed
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Http.Request.Exception.html">ManaPHP\Http\Request\Exception</a></code>
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getGet">ManaPHP\Http\RequestInterface::getGet()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getPost" id="_getPost">

		<td class="attributes"><code>
			 public 

			mixed
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getPost">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#108-130" title="Go to source code">getPost</a>( <span>string <var>$name</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$rule</var> = <span class="php-keyword1">null</span></span>, <span>mixed <var>$defaultValue</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			<p>Gets a variable from the $_POST applying filters if needed
If no parameters are given the $_POST is returned</p>
		</div>

		<div class="description detailed hidden">
			<p>Gets a variable from the $_POST applying filters if needed
If no parameters are given the $_POST is returned</p>

<pre><span class="php-comment">//Returns value from $_POST[&quot;user_email&quot;] without sanitizing</span>
   <span class="php-var">$userEmail</span> = <span class="php-var">$request</span>-&gt;getPost(<span class="php-quote">&quot;user_email&quot;</span>);

   <span class="php-comment">//Returns value from $_POST[&quot;user_email&quot;] with sanitizing</span>
   <span class="php-var">$userEmail</span> = <span class="php-var">$request</span>-&gt;getPost(<span class="php-quote">&quot;user_email&quot;</span>, <span class="php-quote">&quot;email&quot;</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$name</var></dt>
					<dd></dd>
					<dt><var>$rule</var></dt>
					<dd></dd>
					<dt><var>$defaultValue</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					mixed
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Http.Request.Exception.html">ManaPHP\Http\Request\Exception</a></code>
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getPost">ManaPHP\Http\RequestInterface::getPost()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getServer" id="_getServer">

		<td class="attributes"><code>
			 public 

			mixed
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getServer">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#132-148" title="Go to source code">getServer</a>( <span>string <var>$name</var> = <span class="php-keyword1">null</span></span>, <span>mixed <var>$defaultValue</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			<p>Gets variable from $_SERVER</p>
		</div>

		<div class="description detailed hidden">
			<p>Gets variable from $_SERVER</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$name</var></dt>
					<dd></dd>
					<dt><var>$defaultValue</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					mixed
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Http.Request.Exception.html">ManaPHP\Http\Request\Exception</a></code>
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getServer">ManaPHP\Http\RequestInterface::getServer()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getPut" id="_getPut">

		<td class="attributes"><code>
			 public 

			mixed
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getPut">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#150-173" title="Go to source code">getPut</a>( <span>string <var>$name</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$rule</var> = <span class="php-keyword1">null</span></span>, <span>mixed <var>$defaultValue</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			<p>Gets a variable from put request</p>
		</div>

		<div class="description detailed hidden">
			<p>Gets a variable from put request</p>

<pre><span class="php-var">$userEmail</span> = <span class="php-var">$request</span>-&gt;getPut(<span class="php-quote">&quot;user_email&quot;</span>);

   <span class="php-var">$userEmail</span> = <span class="php-var">$request</span>-&gt;getPut(<span class="php-quote">&quot;user_email&quot;</span>, <span class="php-quote">&quot;email&quot;</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$name</var></dt>
					<dd></dd>
					<dt><var>$rule</var></dt>
					<dd></dd>
					<dt><var>$defaultValue</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					mixed
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Http.Request.Exception.html">ManaPHP\Http\Request\Exception</a></code>
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getPut">ManaPHP\Http\RequestInterface::getPut()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getQuery" id="_getQuery">

		<td class="attributes"><code>
			 public 

			mixed
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getQuery">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#175-200" title="Go to source code">getQuery</a>( <span>string <var>$name</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$rule</var> = <span class="php-keyword1">null</span></span>, <span>mixed <var>$defaultValue</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			<p>Gets variable from $_GET applying filters if needed
If no parameters are given the $_GET is returned</p>
		</div>

		<div class="description detailed hidden">
			<p>Gets variable from $_GET applying filters if needed
If no parameters are given the $_GET is returned</p>

<pre><span class="php-comment">//Returns value from $_GET[&quot;id&quot;] without sanitizing</span>
   <span class="php-var">$id</span> = <span class="php-var">$request</span>-&gt;getQuery(<span class="php-quote">&quot;id&quot;</span>);

   <span class="php-comment">//Returns value from $_GET[&quot;id&quot;] with sanitizing</span>
   <span class="php-var">$id</span> = <span class="php-var">$request</span>-&gt;getQuery(<span class="php-quote">&quot;id&quot;</span>, <span class="php-quote">&quot;int&quot;</span>);

   <span class="php-comment">//Returns value from $_GET[&quot;id&quot;] with a default value</span>
   <span class="php-var">$id</span> = <span class="php-var">$request</span>-&gt;getQuery(<span class="php-quote">&quot;id&quot;</span>, <span class="php-keyword1">null</span>, <span class="php-num">150</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$name</var></dt>
					<dd></dd>
					<dt><var>$rule</var></dt>
					<dd></dd>
					<dt><var>$defaultValue</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					mixed
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Http.Request.Exception.html">ManaPHP\Http\Request\Exception</a></code>
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getQuery">ManaPHP\Http\RequestInterface::getQuery()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="has" id="_has">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_has">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#202-212" title="Go to source code">has</a>( <span>string <var>$name</var></span> )</code>

		<div class="description short">
			<p>Checks whether $_REQUEST has certain index</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether $_REQUEST has certain index</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$name</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_has">ManaPHP\Http\RequestInterface::has()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="hasGet" id="_hasGet">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_hasGet">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#214-224" title="Go to source code">hasGet</a>( <span>string <var>$name</var></span> )</code>

		<div class="description short">
			<p>Checks whether $_GET has certain index</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether $_GET has certain index</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$name</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_hasGet">ManaPHP\Http\RequestInterface::hasGet()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="hasPost" id="_hasPost">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_hasPost">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#226-236" title="Go to source code">hasPost</a>( <span>string <var>$name</var></span> )</code>

		<div class="description short">
			<p>Checks whether $_POST has certain index</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether $_POST has certain index</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$name</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_hasPost">ManaPHP\Http\RequestInterface::hasPost()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="hasPut" id="_hasPut">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_hasPut">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#238-252" title="Go to source code">hasPut</a>( <span>string <var>$name</var></span> )</code>

		<div class="description short">
			<p>Checks whether put has certain index</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether put has certain index</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$name</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_hasPut">ManaPHP\Http\RequestInterface::hasPut()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="hasQuery" id="_hasQuery">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_hasQuery">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#254-264" title="Go to source code">hasQuery</a>( <span>string <var>$name</var></span> )</code>

		<div class="description short">
			<p>Checks whether $_GET has certain index</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether $_GET has certain index</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$name</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_hasQuery">ManaPHP\Http\RequestInterface::hasQuery()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="hasServer" id="_hasServer">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_hasServer">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#266-276" title="Go to source code">hasServer</a>( <span>string <var>$name</var></span> )</code>

		<div class="description short">
			<p>Checks whether $_GET has certain index</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether $_GET has certain index</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$name</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_hasServer">ManaPHP\Http\RequestInterface::hasServer()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getMethod" id="_getMethod">

		<td class="attributes"><code>
			 public 

			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getMethod">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#278-284" title="Go to source code">getMethod</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			



				<h4>Returns</h4>
				<div class="list">
					string
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getMethod">ManaPHP\Http\RequestInterface::getMethod()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getHeader" id="_getHeader">

		<td class="attributes"><code>
			 public 

			string|null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getHeader">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#286-304" title="Go to source code">getHeader</a>( <span>string <var>$name</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$name</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					string|null
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getHeader">ManaPHP\Http\RequestInterface::getHeader()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getScheme" id="_getScheme">

		<td class="attributes"><code>
			 public 

			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getScheme">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#306-325" title="Go to source code">getScheme</a>( )</code>

		<div class="description short">
			<p>Gets HTTP schema (http/https)</p>
		</div>

		<div class="description detailed hidden">
			<p>Gets HTTP schema (http/https)</p>



				<h4>Returns</h4>
				<div class="list">
					string
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Http.Request.Exception.html">ManaPHP\Http\Request\Exception</a></code>
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getScheme">ManaPHP\Http\RequestInterface::getScheme()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="isAjax" id="_isAjax">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_isAjax">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#327-335" title="Go to source code">isAjax</a>( )</code>

		<div class="description short">
			<p>Checks whether request has been made using ajax. Checks if $_SERVER['HTTP_X_REQUESTED_WITH']=='XMLHttpRequest'</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether request has been made using ajax. Checks if $_SERVER['HTTP_X_REQUESTED_WITH']=='XMLHttpRequest'</p>



				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_isAjax">ManaPHP\Http\RequestInterface::isAjax()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getRawBody" id="_getRawBody">

		<td class="attributes"><code>
			 public 

			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getRawBody">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#337-349" title="Go to source code">getRawBody</a>( )</code>

		<div class="description short">
			<p>Gets HTTP raw request body</p>
		</div>

		<div class="description detailed hidden">
			<p>Gets HTTP raw request body</p>



				<h4>Returns</h4>
				<div class="list">
					string
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getRawBody">ManaPHP\Http\RequestInterface::getRawBody()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getJsonBody" id="_getJsonBody">

		<td class="attributes"><code>
			 public 

			array|stdClass
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getJsonBody">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#351-366" title="Go to source code">getJsonBody</a>( <span>boolean <var>$assoc</var> = <span class="php-keyword1">true</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$assoc</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					array|stdClass
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Http.Request.Exception.html">ManaPHP\Http\Request\Exception</a></code>
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getJsonBody">ManaPHP\Http\RequestInterface::getJsonBody()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getClientAddress" id="_getClientAddress">

		<td class="attributes"><code>
			 public 

			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getClientAddress">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#368-391" title="Go to source code">getClientAddress</a>( )</code>

		<div class="description short">
			<p>Gets most possible client IPv4 Address. This method search in $_SERVER['REMOTE_ADDR'] and optionally in $_SERVER['HTTP_X_FORWARDED_FOR']</p>
		</div>

		<div class="description detailed hidden">
			<p>Gets most possible client IPv4 Address. This method search in $_SERVER['REMOTE_ADDR'] and optionally in $_SERVER['HTTP_X_FORWARDED_FOR']</p>



				<h4>Returns</h4>
				<div class="list">
					string
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getClientAddress">ManaPHP\Http\RequestInterface::getClientAddress()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="setClientAddress" id="_setClientAddress">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setClientAddress">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#393-409" title="Go to source code">setClientAddress</a>( <span>string|callable <var>$address</var></span> )</code>

		<div class="description short">
			<p>set the client address for getClientAddress method</p>
		</div>

		<div class="description detailed hidden">
			<p>set the client address for getClientAddress method</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$address</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_setClientAddress">ManaPHP\Http\RequestInterface::setClientAddress()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getUserAgent" id="_getUserAgent">

		<td class="attributes"><code>
			 public 

			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getUserAgent">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#411-419" title="Go to source code">getUserAgent</a>( )</code>

		<div class="description short">
			<p>Gets HTTP user agent used to made the request</p>
		</div>

		<div class="description detailed hidden">
			<p>Gets HTTP user agent used to made the request</p>



				<h4>Returns</h4>
				<div class="list">
					string
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getUserAgent">ManaPHP\Http\RequestInterface::getUserAgent()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="isPost" id="_isPost">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_isPost">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#421-429" title="Go to source code">isPost</a>( )</code>

		<div class="description short">
			<p>Checks whether HTTP method is POST. if $_SERVER['REQUEST_METHOD']=='POST'</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether HTTP method is POST. if $_SERVER['REQUEST_METHOD']=='POST'</p>



				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_isPost">ManaPHP\Http\RequestInterface::isPost()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="isGet" id="_isGet">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_isGet">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#431-439" title="Go to source code">isGet</a>( )</code>

		<div class="description short">
			<p>Checks whether HTTP method is GET. if $_SERVER['REQUEST_METHOD']=='GET'</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether HTTP method is GET. if $_SERVER['REQUEST_METHOD']=='GET'</p>



				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_isGet">ManaPHP\Http\RequestInterface::isGet()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="isPut" id="_isPut">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_isPut">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#441-449" title="Go to source code">isPut</a>( )</code>

		<div class="description short">
			<p>Checks whether HTTP method is PUT. if $_SERVER['REQUEST_METHOD']=='PUT'</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether HTTP method is PUT. if $_SERVER['REQUEST_METHOD']=='PUT'</p>



				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_isPut">ManaPHP\Http\RequestInterface::isPut()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="isPatch" id="_isPatch">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_isPatch">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#451-459" title="Go to source code">isPatch</a>( )</code>

		<div class="description short">
			<p>Checks whether HTTP method is PATCH. if $_SERVER['REQUEST_METHOD']=='PATCH'</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether HTTP method is PATCH. if $_SERVER['REQUEST_METHOD']=='PATCH'</p>



				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_isPatch">ManaPHP\Http\RequestInterface::isPatch()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="isHead" id="_isHead">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_isHead">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#461-469" title="Go to source code">isHead</a>( )</code>

		<div class="description short">
			<p>Checks whether HTTP method is HEAD. if $_SERVER['REQUEST_METHOD']=='HEAD'</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether HTTP method is HEAD. if $_SERVER['REQUEST_METHOD']=='HEAD'</p>



				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_isHead">ManaPHP\Http\RequestInterface::isHead()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="isDelete" id="_isDelete">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_isDelete">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#471-479" title="Go to source code">isDelete</a>( )</code>

		<div class="description short">
			<p>Checks whether HTTP method is DELETE. if $_SERVER['REQUEST_METHOD']=='DELETE'</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether HTTP method is DELETE. if $_SERVER['REQUEST_METHOD']=='DELETE'</p>



				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_isDelete">ManaPHP\Http\RequestInterface::isDelete()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="isOptions" id="_isOptions">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_isOptions">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#481-489" title="Go to source code">isOptions</a>( )</code>

		<div class="description short">
			<p>Checks whether HTTP method is OPTIONS. if $_SERVER['REQUEST_METHOD']=='OPTIONS'</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether HTTP method is OPTIONS. if $_SERVER['REQUEST_METHOD']=='OPTIONS'</p>



				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_isOptions">ManaPHP\Http\RequestInterface::isOptions()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="hasFiles" id="_hasFiles">

		<td class="attributes"><code>
			 public 

			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_hasFiles">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#491-522" title="Go to source code">hasFiles</a>( <span>boolean <var>$onlySuccessful</var> = <span class="php-keyword1">false</span></span> )</code>

		<div class="description short">
			<p>Checks whether request includes attached files
http://php.net/manual/en/features.file-upload.multiple.php</p>
		</div>

		<div class="description detailed hidden">
			<p>Checks whether request includes attached files
http://php.net/manual/en/features.file-upload.multiple.php</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$onlySuccessful</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					boolean
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_hasFiles">ManaPHP\Http\RequestInterface::hasFiles()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getFiles" id="_getFiles">

		<td class="attributes"><code>
			 public 

			<code><a href="class-ManaPHP.Http.Request.File.html">ManaPHP\Http\Request\File</a>[]</code>
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getFiles">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#524-569" title="Go to source code">getFiles</a>( <span>boolean <var>$onlySuccessful</var> = <span class="php-keyword1">false</span></span> )</code>

		<div class="description short">
			<p>Gets attached files as \ManaPHP\Http\Request\File instances</p>
		</div>

		<div class="description detailed hidden">
			<p>Gets attached files as \ManaPHP\Http\Request\File instances</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$onlySuccessful</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Http.Request.File.html">ManaPHP\Http\Request\File</a>[]</code>
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getFiles">ManaPHP\Http\RequestInterface::getFiles()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getReferer" id="_getReferer">

		<td class="attributes"><code>
			 public 

			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getReferer">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#571-579" title="Go to source code">getReferer</a>( )</code>

		<div class="description short">
			<p>Gets web page that refers active request. ie: http://www.google.com</p>
		</div>

		<div class="description detailed hidden">
			<p>Gets web page that refers active request. ie: http://www.google.com</p>



				<h4>Returns</h4>
				<div class="list">
					string
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getReferer">ManaPHP\Http\RequestInterface::getReferer()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getUrl" id="_getUrl">

		<td class="attributes"><code>
			 public 

			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getUrl">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#581-601" title="Go to source code">getUrl</a>( <span>boolean <var>$withQuery</var> = <span class="php-keyword1">false</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$withQuery</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					string
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getUrl">ManaPHP\Http\RequestInterface::getUrl()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getUri" id="_getUri">

		<td class="attributes"><code>
			 public 

			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getUri">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#603-609" title="Go to source code">getUri</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			



				<h4>Returns</h4>
				<div class="list">
					string
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getUri">ManaPHP\Http\RequestInterface::getUri()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getAccessToken" id="_getAccessToken">

		<td class="attributes"><code>
			 public 

			string|null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getAccessToken">#</a>
		<code><a href="source-class-ManaPHP.Http.Request.html#611-641" title="Go to source code">getAccessToken</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			



				<h4>Returns</h4>
				<div class="list">
					string|null
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Http.Request.Exception.html">ManaPHP\Http\Request\Exception</a></code>
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Http.RequestInterface.html#_getAccessToken">ManaPHP\Http\RequestInterface::getAccessToken()</a></code></div>
		</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Methods inherited from <a href="class-ManaPHP.Component.html#methods">ManaPHP\Component</a></caption>
	<tr>
		<td><code>
			<a href="class-ManaPHP.Component.html#___debugInfo">__debugInfo()</a>, 
			<a href="class-ManaPHP.Component.html#___get">__get()</a>, 
			<a href="class-ManaPHP.Component.html#___isset">__isset()</a>, 
			<a href="class-ManaPHP.Component.html#___set">__set()</a>, 
			<a href="class-ManaPHP.Component.html#_attachEvent">attachEvent()</a>, 
			<a href="class-ManaPHP.Component.html#_dump">dump()</a>, 
			<a href="class-ManaPHP.Component.html#_fireEvent">fireEvent()</a>, 
			<a href="class-ManaPHP.Component.html#_getDependencyInjector">getDependencyInjector()</a>, 
			<a href="class-ManaPHP.Component.html#_setDependencyInjector">setDependencyInjector()</a>
		</code></td>
	</tr>
	</table>











	<table class="summary properties" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="_rawBody" id="$_rawBody">
		<td class="attributes"><code>
			protected  
			string
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Http.Request.html#19-22" title="Go to source code"><var>$_rawBody</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_rawBody" class="anchor">#</a>
				<code></code>
			</div>
		</td>
	</tr>
	<tr data-order="_putCache" id="$_putCache">
		<td class="attributes"><code>
			protected  
			array
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Http.Request.html#24-27" title="Go to source code"><var>$_putCache</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_putCache" class="anchor">#</a>
				<code></code>
			</div>
		</td>
	</tr>
	<tr data-order="_clientAddress" id="$_clientAddress">
		<td class="attributes"><code>
			protected  
			string
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Http.Request.html#29-32" title="Go to source code"><var>$_clientAddress</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_clientAddress" class="anchor">#</a>
				<code></code>
			</div>
		</td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Properties inherited from <a href="class-ManaPHP.Component.html#properties">ManaPHP\Component</a></caption>
	<tr>
		<td><code>
			<a href="class-ManaPHP.Component.html#$_dependencyInjector"><var>$_dependencyInjector</var></a>
		</code></td>
	</tr>
	</table>


	<table class="summary properties" id="magicProperties">
	<caption>Magic properties summary</caption>
	<tr data-order="filter" id="m$filter">
		<td class="attributes"><code>
			public  
			<code><a href="class-ManaPHP.Http.FilterInterface.html">ManaPHP\Http\FilterInterface</a></code>
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Http.Request.html#15" title="Go to source code"><var>$filter</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Magic properties inherited from <a href="class-ManaPHP.Component.html#properties">ManaPHP\Component</a></caption>
	<tr>
		<td><code>
			<a href="class-ManaPHP.Component.html#m$alias"><var>$alias</var></a>, 
			<a href="class-ManaPHP.Component.html#m$configure"><var>$configure</var></a>, 
			<a href="class-ManaPHP.Component.html#m$eventsManager"><var>$eventsManager</var></a>, 
			<a href="class-ManaPHP.Component.html#m$filesystem"><var>$filesystem</var></a>, 
			<a href="class-ManaPHP.Component.html#m$logger"><var>$logger</var></a>
		</code></td>
	</tr>
	</table>


</div>

	<div id="footer">
		 API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
